package com.example.demo.abstract_demo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @Author: liull
 * @Description:
 * @Date: Created in 21:37 2020/11/11
 * @Modified By:
 */
@Setter
@Getter
@ToString
public abstract class Employee {
    private String name;

    private int id;

    private double salary;

    public Employee(String name, int id, double salary) {
        this.name = name;
        this.id = id;
        this.salary = salary;
    }

    public Employee() {
    }

    public abstract void work();
}
